package com.syt.sytview.web;

import com.syt.sytview.client.SocClientFegin;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@Controller
public class SocController {

    @Autowired(required = false)
    SocClientFegin client;

    @RequestMapping("/soc/list/{id}")
    public String soc(@PathVariable int id) {
        client.listsoc(id);
        return "soc";
    }

}
